/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : 订单概要表
 * 当一个用户将
 */

package org.wzq.learn.domain.order;

import org.wzq.learn.common.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

public class OrderSummary extends BaseEntity {

    private String memberId;                    // 会员Id
    private BigDecimal freightMoney;            // 邮费
    private BigDecimal platformDiscountMoney;   // 平台优惠金额
    private BigDecimal shopDiscountMoney;       // 店铺优惠金额
    private BigDecimal itemMoney;               // 商品总额
    private BigDecimal payMoney;                // 实际支付金额

    private Date payTime;                       // 支付时间
    private String payChannel;                  // 支付渠道
    private Date payDeadLine;                   // 支付超时

    public OrderSummary() {
        super();
    }

    // --- setter / getter ----

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public BigDecimal getFreightMoney() {
        return freightMoney;
    }

    public void setFreightMoney(BigDecimal freightMoney) {
        this.freightMoney = freightMoney;
    }

    public BigDecimal getPlatformDiscountMoney() {
        return platformDiscountMoney;
    }

    public void setPlatformDiscountMoney(BigDecimal platformDiscountMoney) {
        this.platformDiscountMoney = platformDiscountMoney;
    }

    public BigDecimal getShopDiscountMoney() {
        return shopDiscountMoney;
    }

    public void setShopDiscountMoney(BigDecimal shopDiscountMoney) {
        this.shopDiscountMoney = shopDiscountMoney;
    }

    public BigDecimal getItemMoney() {
        return itemMoney;
    }

    public void setItemMoney(BigDecimal itemMoney) {
        this.itemMoney = itemMoney;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public Date getPayDeadline() {
        return payDeadLine;
    }

    public void setPayDeadline(Date payDeadLine) {
        this.payDeadLine = payDeadLine;
    }
}
